package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 健康打卡
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-03-07 18:45:17
 */
@TableName("jiankangdaka")
public class JiankangdakaEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public JiankangdakaEntity() {
		
	}
	
	public JiankangdakaEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 打卡时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date dakashijian;
	
	/**
	 * 健康码
	 */
					
	private String jiankangma;
	
	/**
	 * 行程码
	 */
					
	private String xingchengma;
	
	/**
	 * 报告
	 */
					
	private String baogao;
	
	/**
	 * 当前体温
	 */
					
	private String dangqiantiwen;
	
	/**
	 * 目前健康状况
	 */
					
	private String muqianjiankangzhuangkuang;
	
	/**
	 * 风险地区停留
	 */
					
	private String fengxiandiqutingliu;
	
	/**
	 * 备注
	 */
					
	private String beizhu;
	
	/**
	 * 学生学号
	 */
					
	private String xueshengxuehao;
	
	/**
	 * 学生姓名
	 */
					
	private String xueshengxingming;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：打卡时间
	 */
	public void setDakashijian(Date dakashijian) {
		this.dakashijian = dakashijian;
	}
	/**
	 * 获取：打卡时间
	 */
	public Date getDakashijian() {
		return dakashijian;
	}
	/**
	 * 设置：健康码
	 */
	public void setJiankangma(String jiankangma) {
		this.jiankangma = jiankangma;
	}
	/**
	 * 获取：健康码
	 */
	public String getJiankangma() {
		return jiankangma;
	}
	/**
	 * 设置：行程码
	 */
	public void setXingchengma(String xingchengma) {
		this.xingchengma = xingchengma;
	}
	/**
	 * 获取：行程码
	 */
	public String getXingchengma() {
		return xingchengma;
	}
	/**
	 * 设置：报告
	 */
	public void setBaogao(String baogao) {
		this.baogao = baogao;
	}
	/**
	 * 获取：报告
	 */
	public String getBaogao() {
		return baogao;
	}
	/**
	 * 设置：当前体温
	 */
	public void setDangqiantiwen(String dangqiantiwen) {
		this.dangqiantiwen = dangqiantiwen;
	}
	/**
	 * 获取：当前体温
	 */
	public String getDangqiantiwen() {
		return dangqiantiwen;
	}
	/**
	 * 设置：目前健康状况
	 */
	public void setMuqianjiankangzhuangkuang(String muqianjiankangzhuangkuang) {
		this.muqianjiankangzhuangkuang = muqianjiankangzhuangkuang;
	}
	/**
	 * 获取：目前健康状况
	 */
	public String getMuqianjiankangzhuangkuang() {
		return muqianjiankangzhuangkuang;
	}
	/**
	 * 设置：风险地区停留
	 */
	public void setFengxiandiqutingliu(String fengxiandiqutingliu) {
		this.fengxiandiqutingliu = fengxiandiqutingliu;
	}
	/**
	 * 获取：风险地区停留
	 */
	public String getFengxiandiqutingliu() {
		return fengxiandiqutingliu;
	}
	/**
	 * 设置：备注
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	/**
	 * 获取：备注
	 */
	public String getBeizhu() {
		return beizhu;
	}
	/**
	 * 设置：学生学号
	 */
	public void setXueshengxuehao(String xueshengxuehao) {
		this.xueshengxuehao = xueshengxuehao;
	}
	/**
	 * 获取：学生学号
	 */
	public String getXueshengxuehao() {
		return xueshengxuehao;
	}
	/**
	 * 设置：学生姓名
	 */
	public void setXueshengxingming(String xueshengxingming) {
		this.xueshengxingming = xueshengxingming;
	}
	/**
	 * 获取：学生姓名
	 */
	public String getXueshengxingming() {
		return xueshengxingming;
	}

}
